//go:build js || wasm

package godom

import "syscall/js"

// EventTargetWrapper
// https://developer.mozilla.org/ru/docs/Web/API/EventTarget
type EventTargetWrapper interface {
	JSWrapper

	AddEventListener(event string, handler js.Func)
	DispatchEvent(event string)
	RemoveEventListener(event string, handler js.Func)
}
